import Cookies from 'js-cookie'

<<<<<<< HEAD
const TokenKey = 'loginToken'
=======
const TokenKey = 'vue_admin_template_token'
>>>>>>> 8fe8dc1d492fef1db3df17a19720667594985d8a

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}
